package com.chazz.test;

import com.chazz.dao.GoodsDao;
import com.chazz.dao.impl.GoodsDaoImple;
import com.chazz.entity.Goods;
import com.chazz.service.GoodsService;
import com.chazz.service.impl.GoodsServiceImpl;

public class testGoodsBlurryQuery {
    public static void main(String[] args) {
        GoodsService goodsService = new GoodsServiceImpl();
        for (Goods goods : goodsService.findGoodsList("电子产品")) {
            System.out.println(goods.getCategoryid());
            System.out.println(goods.getGoodsname());
        }
//        GoodsDao goodsDao=new GoodsDaoImple();
//        System.out.println(goodsDao.GoodsBlurryQuery(1));

    }
}
